package com.canyou.activiti.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 代办任务
 *
 * @author fy
 * @date 2021/3/4 10:41
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "ActTaskVO", description = "代办任务实体模型")
public class ActTaskVO {

    @ApiModelProperty(value = "任务id")
    private String id;

    @ApiModelProperty(value = "任务名称")
    private String name;

    @ApiModelProperty(value = "任务状态")
    private String status;

    @ApiModelProperty(value = "任务创建时间")
    private Date createTime;

    @ApiModelProperty(value = "流程实例名称")
    private String processInstanceName;

    @ApiModelProperty(value = "流程实例id")
    private String processInstanceId;

    @ApiModelProperty(value = "流程定义key")
    private String processDefinitionKey;

    @ApiModelProperty(value = "任务业务Key")
    private String businessKey;

    @ApiModelProperty(value = "任务执行人")
    private String assignee;

    @ApiModelProperty(value = "任务挂起状态")
    private Integer suspensionState;

    @ApiModelProperty(value = "任务描述")
    private String description;

}
